package com.hahaduo.bee.dao.jpa.factory;

import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

/**
 * @author noodles.wumu@gmail.com
 * @since 2013/05/30 14:16:37
 * @version 0.1
 */
public final class EMF {
	private static final EntityManagerFactory emfInstance = Persistence.createEntityManagerFactory("transactions-optional");

	private EMF() {
	}

	public static EntityManagerFactory get() {
		return emfInstance;
	}
}
